package com.xeem.core.components
{
	public class MBox
	{		
		/**
		 * 简单盒子定位数据结构
		 * @author harrihuang
		 * @email harrihuang@gmail.com
		 * @version 1.0
		 * @fp version 9+
		 */
		
		public function MBox($x:Number,$y:Number,$h:Number=0,$w:Number=0)
		{
			this._x=$x;
			this._y=$y;
			this._height=$h;
			this._weight=$w;		
		}
		
		//Box 	x 坐标
		private var _x:Number;
		
		//Box 	y 坐标
		private var _y:Number;
		
		//Box   高度
		private var _height:Number;
		
		//Box   宽度
		private var _weight:Number;
		
		public function set X(val:Number){
			this._x=val;
		}
		
		public function get X(){
			return this._x;
		}
		
		public function set Y(val:Number){
			this._y=val;
		}
		
		public function get Y(){
			return this._y;
		}
		
		public function set Height(val:Number){
			this._height=val;
		}
		
		public function get Height(){
			return this._height;
		}
		
		public function set Weight(val:Number){
			this._weight=val;
		}
		
		public function get Weight(){
			return this._weight;
		}
	}
}